import axios from 'axios'

const instance = axios.create({
    baseURL: "http://rap2api.taobao.org/app/mock/274116/",
  });
  /* 配置 响应的拦截器 data取出来 */
  instance.interceptors.response.use(
    function (response) {
      return response.data;
    },
    function (error) {
      return Promise.reject(error);
    }
  );
  export default instance;
  